package com.haoze.nurseapp.model;


import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author luy
 * @since 2020-05-13
 */
@Table(name = "EMR.PATIENT_IN_HOSPITAL")
public class PatientInHospitalEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人住院数据ID，，，主键
     */
    @Id
    @Column(name = "PATDATA_ID")
    private String patdataId;

    /**
     * 数据版本
     */
    @Column(name ="DATA_VERSION")
    private Integer dataVersion;

    /**
     * 数据创建时间
     */
    @Column(name ="GMT_CREATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp  gmtCreate;

    /**
     * 数据修改时间
     */
    @Column(name ="GMT_MODIFY")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp gmtModify;

    /**
     * 医疗机构ID，DE08.10.013.00，，关联EHR_INSTITUTION_INDEX.HOSPITAL_ID
     */
    @Column(name ="HOSPITAL_ID")
    private String hospitalId;

    /**
     * 居民健康卡号，DE01.00.021.00
     */
    @Column(name ="CARD_NUM")
    private String cardNum;

    /**
     * 城乡居民健康档案编号，DE01.00.009.00
     */
    @Column(name ="HEALTH_NUM")
    private String healthNum;

    /**
     * 科室代码，DE08.10.026.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="DEPT_ID")
    private String deptId;

    /**
     * 患者类型代码，DE02.01.060.00，PD0000000129
     */
    @Column(name ="PAT_TYPE_ID")
    private String patTypeId;

    /**
     * 门（急）诊号，DE01.00.010.00
     */
    @Column(name ="OUTPAT_NUM")
    private String outpatNum;

    /**
     * 住院号，DE01.00.014.00
     */
    @Column(name ="INPAT_NUM")
    private String inpatNum;

    /**
     * 病案号，DE01.00.004.00
     */
    @Column(name ="MEDICAL_NUM")
    private String medicalNum;

    /**
     * 住院次数，DE02.10.090.00
     */
    @Column(name ="INPAT_TIMES")
    private Integer inpatTimes;

    /**
     * 姓名，DE02.01.039.00
     */
    @Column(name ="PAT_NAME")
    private String patName;

    /**
     * 性别代码，DE02.01.040.00，PD0000000269
     */
    @Column(name ="SEX_ID")
    private String sexId;

    /**
     * 出生日期，DE02.01.005.01
     */
    @Column(name ="BIRTHDAY")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp birthday;

    /**
     * 年龄-岁，DE02.01.026.00
     */
    @Column(name ="AGE_YEAR")
    private Integer ageYear;

    /**
     * 年龄-月，DE02.01.032.00
     */
    @Column(name ="AGE_MONTH")
    private Integer ageMonth;

    /**
     * 年龄-天
     */
    @Column(name ="AGE_DAY")
    private Integer ageDay;

    /**
     * 国籍代码，DE02.01.015.00，PD0000000271
     */
    @Column(name ="COUNTRY_ID")
    private String countryId;

    /**
     * 新生儿出生体重（g），DE04.10.019.00
     */
    @Column(name ="BIRTH_WEIGHT")
    private Integer birthWeight;

    /**
     * 新生儿入院体重（g），DE04.10.019.00
     */
    @Column(name ="INPAT_WEIGHT")
    private Integer inpatWeight;

    /**
     * 出生地-省代码，DE02.01.009.01，PD0000000446
     */
    @Column(name ="BIRTH_PROVINCE_ID")
    private String birthProvinceId;

    /**
     * 出生地-市代码，DE02.01.009.02，PD0000000446
     */
    @Column(name ="BIRTH_CITY_ID")
    private String birthCityId;

    /**
     * 出生地-县，DE02.01.009.03，PD0000000446
     */
    @Column(name ="BIRTH_COUNTY_ID")
    private String birthCountyId;

    /**
     * 籍贯-省代码，DE02.01.009.01，PD0000000446
     */
    @Column(name ="ORIGIN_PROVINCE_ID")
    private String originProvinceId;

    /**
     * 籍贯-市代码，DE02.01.009.02，PD0000000446
     */
    @Column(name ="ORIGIN_CITY_ID")
    private String originCityId;

    /**
     * 籍贯-县代码，DE02.01.009.03，PD0000000446
     */
    @Column(name ="ORIGIN_COUNTY_ID")
    private String originCountyId;

    /**
     * 民族代码，DE02.01.025.00，PD0000000215
     */
    @Column(name ="NATION_ID")
    private String nationId;

    /**
     * 身份证件类别代码，DE02.01.031.00，PD0000000260
     */
    @Column(name ="ID_TYPE_ID")
    private String idTypeId;

    /**
     * 患者身份证件号码，DE02.01.030.00
     */
    @Column(name ="ID_NUM")
    private String idNum;

    /**
     * 职业类别代码，DE02.01.052.00，PD0000000432
     */
    @Column(name ="OCCUPATION_TYPE_ID")
    private String occupationTypeId;

    /**
     * 婚姻状况代码，DE02.01.018.00，PD0000000137
     */
    @Column(name ="MARRIAGE_ID")
    private String marriageId;

    /**
     * 现住址-省代码，DE02.01.009.01，PD0000000446
     */
    @Column(name ="ADDRESS_PROVINCE_ID")
    private String addressProvinceId;

    /**
     * 现住址-市代码，DE02.01.009.02，PD0000000446
     */
    @Column(name ="ADDRESS_CITY_ID")
    private String addressCityId;

    /**
     * 现住址-县代码，DE02.01.009.03，PD0000000446
     */
    @Column(name ="ADDRESS_COUNTY_ID")
    private String addressCountyId;

    /**
     * 现住址-乡，DE02.01.009.04
     */
    @Column(name ="ADDRESS_TOWNSHIP")
    private String addressTownship;

    /**
     * 现住址-村，DE02.01.009.05
     */
    @Column(name ="ADDRESS_VILLAGE")
    private String addressVillage;

    /**
     * 现住址-门牌号码，DE02.01.009.06
     */
    @Column(name ="ADDRESS_HOUSE_NUM")
    private String addressHouseNum;

    /**
     * 电话号码，DE02.01.010.00
     */
    @Column(name ="PHONE_NUM")
    private String phoneNum;

    /**
     * 现住址-邮政编码，DE02.01.047.00
     */
    @Column(name ="ADDRESS_ZIP_CODE")
    private String addressZipCode;

    /**
     * 户口地址-省代码，DE02.01.009.01，PD0000000446
     */
    @Column(name ="REGIST_PROVINCE_ID")
    private String registProvinceId;

    /**
     * 户口地址-市代码，DE02.0l.009.02，PD0000000446
     */
    @Column(name ="REGIST_CITY_ID")
    private String registCityId;

    /**
     * 户口地址-县代码，DE02.01.009.03，PD0000000446
     */
    @Column(name ="REGIST_COUNTY_ID")
    private String registCountyId;

    /**
     * 户口地址-乡，DE02.01.009.04
     */
    @Column(name ="REGIST_TOWNSHIP")
    private String registTownship;

    /**
     * 户口地址-村，DE02.01.009.05
     */
    @Column(name ="REGIST_VILLAGE")
    private String registVillage;

    /**
     * 户口地址-门牌号码，DE02.01.009.06
     */
    @Column(name ="REGIST_HOUSE_NUM")
    private String registHouseNum;

    /**
     * 户口地址-邮政编码，DE02.01.047.00
     */
    @Column(name ="REGIST_ZIP_CODE")
    private String registZipCode;

    /**
     * 工作单位名称，DE02.01.004.00
     */
    @Column(name ="WORK_UNIT")
    private String workUnit;

    /**
     * 工作单位地址-省代码，DE02.01.009.01，PD0000000446
     */
    @Column(name ="WORK_PROVINCE_ID")
    private String workProvinceId;

    /**
     * 工作单位地址-市代码，DE02.01.009.02，PD0000000446
     */
    @Column(name ="WORK_CITY_ID")
    private String workCityId;

    /**
     * 工作单位地址-县代码，DE02.01.009.03，PD0000000446
     */
    @Column(name ="WORK_COUNTY_ID")
    private String workCountyId;

    /**
     * 工作单位地址-乡，DE02.01.009.04
     */
    @Column(name ="WORK_TOWNSHIP")
    private String workTownship;

    /**
     * 工作单位地址-村，DE02.01.009.05
     */
    @Column(name ="WORK_VILLAGE")
    private String workVillage;

    /**
     * 工作单位地址-门牌号码，DE02.01.009.06
     */
    @Column(name ="WORK_HOUSE_NUM")
    private String workHouseNum;

    /**
     * 工作单位电话号码，DE02.01.010.00
     */
    @Column(name ="WORK_PHONE_NUM")
    private String workPhoneNum;

    /**
     * 工作单位地址-邮政编码，DE02.01.047.00
     */
    @Column(name ="WORK_ZIP_CODE")
    private String workZipCode;

    /**
     * 联系人姓名，DE02.01.039.00
     */
    @Column(name ="CONTACTS_NAME")
    private String contactsName;

    /**
     * 联系人与患者关系代码，DE02.10.024.00，PD0000000143
     */
    @Column(name ="RELATIONSHIP_ID")
    private String relationshipId;

    /**
     * 联系人地址-省代码，DE02.01.009.01，PD0000000446
     */
    @Column(name ="CONTACTS_PROVINCE_ID")
    private String contactsProvinceId;

    /**
     * 联系人地址-市代码，DE02.01.009.02，PD0000000446
     */
    @Column(name ="CONTACTS_CITY_ID")
    private String contactsCityId;

    /**
     * 联系人地址-县代码，DE02.0l.009.03，PD0000000446
     */
    @Column(name ="CONTACTS_COUNTY_ID")
    private String contactsCountyId;

    /**
     * 联系人地址-乡，DE02.01.009.04
     */
    @Column(name ="CONTACTS_TOWNSHIP")
    private String contactsTownship;

    /**
     * 联系人地址-村，DE02.01.009.05
     */
    @Column(name ="CONTACTS_VILLAGE")
    private String contactsVillage;

    /**
     * 联系人地址-门牌号码，DE02.01.009.06
     */
    @Column(name ="CONTACTS_HOUSE_NUM")
    private String contactsHouseNum;

    /**
     * 联系人电话号码，DE02.01.010.00
     */
    @Column(name ="CONTACTS_PHONE_NUM")
    private String contactsPhoneNum;

    /**
     * 入院途径代码，DE06.00.339.00，PD0000000248
     */
    @Column(name ="IN_WAY_ID")
    private String inWayId;

    /**
     * 入院日期时间，DE06.00.092.00
     */
    @Column(name ="IN_DATETIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp inDatetime;

    /**
     * 入院科室代码，DE08.10.026.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="IN_DEPT_ID")
    private String inDeptId;

    /**
     * 入院病区，DE08.10.054.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="IN_WARD_DEPT_ID")
    private String inWardDeptId;

    /**
     * 入院病房，DE01.00.019.00
     */
    @Column(name ="IN_ROOM_NO")
    private String inRoomNo;

    /**
     * 转科科室代码，DE08.10.026.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="TRANS_DEPT_ID")
    private String transDeptId;

    /**
     * 出院日期时间，DE06.00.017.00
     */
    @Column(name ="OUT_DATETIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp outDatetime;

    /**
     * 出院科室代码，DE08.10.026.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="OUT_DEPT_ID")
    private String outDeptId;

    /**
     * 出院病区，DE08.10.054.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="OUT_WARD_DEPT_ID")
    private String outWardDeptId;

    /**
     * 出院病房，DE01.00.019.00
     */
    @Column(name ="OUT_ROOM_NO")
    private String outRoomNo;

    /**
     * 实际住院天数，DE06.00.310.00
     */
    @Column(name ="IN_HOSPITAL_DAYS")
    private Integer inHospitalDays;

    /**
     * 病理号，DE01.00.005.00
     */
    @Column(name ="PATHOLOGY_NUM")
    private String pathologyNum;

    /**
     * 过敏史标志，DE02.10.023.00，，FD000054
     */
    @Column(name ="DRUG_ALLERGY_FLAG")
    private String drugAllergyFlag;

    /**
     * 过敏史，DE02.10.022.00
     */
    @Column(name ="ANAPHYLAXIS")
    private String anaphylaxis;

    /**
     * 死亡患者尸检标志，DE09.00.108.00，FD000054
     */
    @Column(name ="DEATH_AUTOPSY_FLAG")
    private String deathAutopsyFlag;

    /**
     * 科主任签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="DIRECTOR_PERSON_ID")
    private String directorPersonId;

    /**
     * 主任（副主任）医师签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="DEPUTY_PERSON_ID")
    private String deputyPersonId;

    /**
     * 主治医师签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="ATTENDING_PERSON_ID")
    private String attendingPersonId;

    /**
     * 住院医师签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="INPATIENT_PERSON_ID")
    private String inpatientPersonId;

    /**
     * 责任护士签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="RESPONSIBLE_NURSE_PERSON_ID")
    private String responsibleNursePersonId;

    /**
     * 进修医师签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="ADVANCED_PERSON_ID")
    private String advancedPersonId;

    /**
     * 实习医师签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="INTERN_PERSON_ID")
    private String internPersonId;

    /**
     * 编码员签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="CODERS_PERSON_ID")
    private String codersPersonId;

    /**
     * 病案质量代码，DE09.00.103.00，PD0000000033
     */
    @Column(name ="MEDICAL_QUALITY_ID")
    private String medicalQualityId;

    /**
     * 质控医师签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="QUALITY_DOCTOR_PERSON_ID")
    private String qualityDoctorPersonId;

    /**
     * 质控护士签名代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="QUALITY_NURSE_PERSON_ID")
    private String qualityNursePersonId;

    /**
     * 质控日期，DE09.00.120.00
     */
    @Column(name ="QUALITY_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp qualityDate;

    /**
     * 离院方式代码，DE06.00.223.00，PD0000000189
     */
    @Column(name ="OUT_WAY_ID")
    private String outWayId;

    /**
     * 拟接收医疗机构代码，DE08.10.013.00，，关联EHR_INSTITUTION_INDEX.HOSPITAL_ID
     */
    @Column(name ="RECEIVE_HOSPITAL_ID")
    private String receiveHospitalId;

    /**
     * 出院31天内再住院标志，DE06.00.194.00，FD000054
     */
    @Column(name ="WITHIN_REBACK_FLAG")
    private String withinRebackFlag;

    /**
     * 出院31天内再住院目的，DE06.00.195.00
     */
    @Column(name ="WITHIN_REBACK_OBJECTIVE")
    private String withinRebackObjective;

    /**
     * 颅脑损伤患者入院前昏迷时间-d，DE05.10.138.01
     */
    @Column(name ="PRE_COMA_DAYS")
    private Integer preComaDays;

    /**
     * 颅脑损伤患者入院前昏迷时间-h，DE05.10.138.02
     */
    @Column(name ="PRE_COMA_HOUR")
    private Integer preComaHour;

    /**
     * 颅脑损伤患者入院前昏迷时间-min，DE05.10.138.03
     */
    @Column(name ="PRE_COMA_MINUTE")
    private Integer preComaMinute;

    /**
     * 颅脑损伤患者入院后昏迷时间-d，DE05.10.138.01
     */
    @Column(name ="AFTER_COMA_DAYS")
    private Integer afterComaDays;

    /**
     * 颅脑损伤患者入院后昏迷时间-h，DE05.10.138.02
     */
    @Column(name ="AFTER_COMA_HOUR")
    private Integer afterComaHour;

    /**
     * 颅脑损伤患者入院后昏迷时间-min，DE05.10.138.03
     */
    @Column(name ="AFTER_COMA_MINUTE")
    private Integer afterComaMinute;

    /**
     * 发病日期时间，DE04.01.018.00
     */
    @Column(name ="ATTACK_DATETIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp attackDatetime;

    /**
     * 就诊原因，DE05.10.053.00
     */
    @Column(name ="TREATMENT_CAUSE")
    private String treatmentCause;

    /**
     * 责任医师代码，DE02.01.039.00，，关联SYS_USER.USER_ID
     */
    @Column(name ="RESPONSIBLE_DOCTOR_PERSON_ID")
    private String responsibleDoctorPersonId;

    /**
     * 病区代码，DE08.10.054.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="WARD_DEPT_ID")
    private String wardDeptId;

    /**
     * 病房号，DE01.00.019.00
     */
    @Column(name ="WARD_ROOM_NO")
    private String wardRoomNo;

    /**
     * 病床号，DE01.00.026.00
     */
    @Column(name ="BED_NO")
    private String bedNo;

    /**
     * 拟转科室名称，DE08.10.026.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="PLAN_DEPT_ID")
    private String planDeptId;

    /**
     * 拟转病区名称，DE08.10.054.00，，关联SYS_DEPT_DICT.DEPT_ID
     */
    @Column(name ="PLAN_WARD_DEPT_ID")
    private String planWardDeptId;

    /**
     * 疾病状态代码，，PD0000000470
     */
    @Column(name ="DISEASE_STATE")
    private String diseaseState;

    /**
     * 饮食指导代码，DE06.00.291.00，PD0000000401
     */
    @Column(name ="DIETARY_GUIDANCE")
    private String dietaryGuidance;

    /**
     * 死亡日期时间，DE02.01.036.00
     */
    @Column(name ="DEATH_DATETIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp deathDatetime;

    /**
     * 护理等级代码，DE06.00.211.00，PD0000000126
     */
    @Column(name ="NURSING_GRADE")
    private String nursingGrade;

    /**
     * 治疗类别代码，DE06.00.304.00，PD0000000443
     */
    @Column(name ="TREATMENT_CATEGORY")
    private String treatmentCategory;

    /**
     * 实施临床路径标志代码，DE06.00.247.00，PD0000000270
     */
    @Column(name ="CLINICAL_PATHWAY")
    private String clinicalPathway;

    /**
     * 使用医疗机构中药制剂标志，DE06.00.243.00，FD000054
     */
    @Column(name ="CHINESE_MEDICINE_FLAG")
    private String chineseMedicineFlag;

    /**
     * 使用中医诊疗设备标志，DE06.00.244.00，FD000054
     */
    @Column(name ="CHINESE_EQUIPMENT_FLAG")
    private String chineseEquipmentFlag;

    /**
     * 使用中医诊疗技术标志，DE06.00.245.00，FD000054
     */
    @Column(name ="CHINESE_TREATMENT_FLAG")
    private String chineseTreatmentFlag;

    /**
     * 辨证施护标志，DE06.00.180.00，FD000054
     */
    @Column(name ="DIALECTIC_FLAG")
    private String dialecticFlag;

    /**
     * 医疗保险类别代码，DE02.01.044.00，PD0000000368
     */
    @Column(name ="INSURANCE_CATEGORY")
    private String insuranceCategory;

    /**
     * 就诊日期时间，DE06.00.062.00
     */
    @Column(name ="TREATMENT_DATE")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp treatmentDate;

    /**
     * 患者姓名拼音码
     */
    @Column(name ="PY_CODE")
    private String pyCode;

    /**
     * 患者姓名五笔码
     */
    @Column(name ="WB_CODE")
    private String wbCode;

    /**
     * 归档标记
     */
    @Column(name ="ARCHIVE_FLAG")
    private String archiveFlag;

    @Column(name ="PATHOLOGY_DIAG_ID")
    private String pathologyDiagId;

    @Column(name ="INJURY_REASON_ID")
    private String injuryReasonId;

    /**
     * 门诊病人状态：0退号；1待诊；2诊中；3诊毕
     */
    @Column(name ="OUTPAT_STATUS")
    private String outpatStatus;

    @Column(name ="AGE_HOUR")
    private Integer ageHour;

    @Column(name ="AGE_MINUTE")
    private Integer ageMinute;

    /**
     * 是否为日间病房病人，0：否，1：是
     */
    @Column(name ="DAY_WARD_FLAG")
    private String dayWardFlag;

    /**
     * 新生儿出生体重二孩（g）
     */
    @Column(name ="BIRTH_WEIGHT_SECONDCHILD")
    private Integer birthWeightSecondchild;
    /**
     * 新生儿入院体重二孩（g）
     */
    @Column(name ="INPAT_WEIGHT_SECONDCHILD")
    private Integer inpatWeightSecondchild;
    /**
     * 医疗付费方式
     */
    @Column(name ="INSURANCE_TYPE_ID")
    private String insuranceTypeId;
    /**
     * 身份证号不详具体原因
     */
    @Column(name ="IDCARD_UNKNOWN_REASON")
    private String idcardUnknownReason;
    /**
     * 身份证号不详具体原因--其他描述（g）
     */
    @Column(name ="IDCARD_UNKNOWN_REASON_DESCRIBE")
    private String idcardUnknownReasonDescribe;
    /**
     * 住院病人退病标志，1:退病人,0:未退病人（g）
     */
    @Column(name ="PAT_RETURN")
    private String patReturn;

    /**
     * 入病区日期时间，DE06.00.092.00
     */
    @Column(name ="IN_WARD_DATETIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp inWardDatetime;

    @Column(name = "RELIGION")
    private String religion;//宗教

    @Column(name = "BIRTH_TOWNSHIP")
    private String birthTownship;//出生地村街

    public Timestamp getInWardDatetime() {
        return inWardDatetime;
    }

    public void setInWardDatetime(Timestamp inWardDatetime) {
        this.inWardDatetime = inWardDatetime;
    }

    public String getPatReturn() {
        return patReturn;
    }

    public void setPatReturn(String patReturn) {
        this.patReturn = patReturn;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPatdataId() {
        return patdataId;
    }

    public void setPatdataId(String patdataId) {
        this.patdataId = patdataId;
    }

    public Integer getDataVersion() {
        return dataVersion;
    }

    public void setDataVersion(Integer dataVersion) {
        this.dataVersion = dataVersion;
    }

    public String getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getHealthNum() {
        return healthNum;
    }

    public void setHealthNum(String healthNum) {
        this.healthNum = healthNum;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getPatTypeId() {
        return patTypeId;
    }

    public void setPatTypeId(String patTypeId) {
        this.patTypeId = patTypeId;
    }

    public String getOutpatNum() {
        return outpatNum;
    }

    public void setOutpatNum(String outpatNum) {
        this.outpatNum = outpatNum;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public String getMedicalNum() {
        return medicalNum;
    }

    public void setMedicalNum(String medicalNum) {
        this.medicalNum = medicalNum;
    }

    public Integer getInpatTimes() {
        return inpatTimes;
    }

    public void setInpatTimes(Integer inpatTimes) {
        this.inpatTimes = inpatTimes;
    }

    public String getPatName() {
        return patName;
    }

    public void setPatName(String patName) {
        this.patName = patName;
    }

    public String getSexId() {
        return sexId;
    }

    public void setSexId(String sexId) {
        this.sexId = sexId;
    }


    public Integer getAgeYear() {
        return ageYear;
    }

    public void setAgeYear(Integer ageYear) {
        this.ageYear = ageYear;
    }

    public Integer getAgeMonth() {
        return ageMonth;
    }

    public void setAgeMonth(Integer ageMonth) {
        this.ageMonth = ageMonth;
    }

    public Integer getAgeDay() {
        return ageDay;
    }

    public void setAgeDay(Integer ageDay) {
        this.ageDay = ageDay;
    }

    public String getCountryId() {
        return countryId;
    }

    public void setCountryId(String countryId) {
        this.countryId = countryId;
    }

    public Integer getBirthWeight() {
        return birthWeight;
    }

    public void setBirthWeight(Integer birthWeight) {
        this.birthWeight = birthWeight;
    }

    public Integer getInpatWeight() {
        return inpatWeight;
    }

    public void setInpatWeight(Integer inpatWeight) {
        this.inpatWeight = inpatWeight;
    }

    public String getBirthProvinceId() {
        return birthProvinceId;
    }

    public void setBirthProvinceId(String birthProvinceId) {
        this.birthProvinceId = birthProvinceId;
    }

    public String getBirthCityId() {
        return birthCityId;
    }

    public void setBirthCityId(String birthCityId) {
        this.birthCityId = birthCityId;
    }

    public String getBirthCountyId() {
        return birthCountyId;
    }

    public void setBirthCountyId(String birthCountyId) {
        this.birthCountyId = birthCountyId;
    }

    public String getOriginProvinceId() {
        return originProvinceId;
    }

    public void setOriginProvinceId(String originProvinceId) {
        this.originProvinceId = originProvinceId;
    }

    public String getOriginCityId() {
        return originCityId;
    }

    public void setOriginCityId(String originCityId) {
        this.originCityId = originCityId;
    }

    public String getOriginCountyId() {
        return originCountyId;
    }

    public void setOriginCountyId(String originCountyId) {
        this.originCountyId = originCountyId;
    }

    public String getNationId() {
        return nationId;
    }

    public void setNationId(String nationId) {
        this.nationId = nationId;
    }

    public String getIdTypeId() {
        return idTypeId;
    }

    public void setIdTypeId(String idTypeId) {
        this.idTypeId = idTypeId;
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum;
    }

    public String getOccupationTypeId() {
        return occupationTypeId;
    }

    public void setOccupationTypeId(String occupationTypeId) {
        this.occupationTypeId = occupationTypeId;
    }

    public String getMarriageId() {
        return marriageId;
    }

    public void setMarriageId(String marriageId) {
        this.marriageId = marriageId;
    }

    public String getAddressProvinceId() {
        return addressProvinceId;
    }

    public void setAddressProvinceId(String addressProvinceId) {
        this.addressProvinceId = addressProvinceId;
    }

    public String getAddressCityId() {
        return addressCityId;
    }

    public void setAddressCityId(String addressCityId) {
        this.addressCityId = addressCityId;
    }

    public String getAddressCountyId() {
        return addressCountyId;
    }

    public void setAddressCountyId(String addressCountyId) {
        this.addressCountyId = addressCountyId;
    }

    public String getAddressTownship() {
        return addressTownship;
    }

    public void setAddressTownship(String addressTownship) {
        this.addressTownship = addressTownship;
    }

    public String getAddressVillage() {
        return addressVillage;
    }

    public void setAddressVillage(String addressVillage) {
        this.addressVillage = addressVillage;
    }

    public String getAddressHouseNum() {
        return addressHouseNum;
    }

    public void setAddressHouseNum(String addressHouseNum) {
        this.addressHouseNum = addressHouseNum;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getAddressZipCode() {
        return addressZipCode;
    }

    public void setAddressZipCode(String addressZipCode) {
        this.addressZipCode = addressZipCode;
    }

    public String getRegistProvinceId() {
        return registProvinceId;
    }

    public void setRegistProvinceId(String registProvinceId) {
        this.registProvinceId = registProvinceId;
    }

    public String getRegistCityId() {
        return registCityId;
    }

    public void setRegistCityId(String registCityId) {
        this.registCityId = registCityId;
    }

    public String getRegistCountyId() {
        return registCountyId;
    }

    public void setRegistCountyId(String registCountyId) {
        this.registCountyId = registCountyId;
    }

    public String getRegistTownship() {
        return registTownship;
    }

    public void setRegistTownship(String registTownship) {
        this.registTownship = registTownship;
    }

    public String getRegistVillage() {
        return registVillage;
    }

    public void setRegistVillage(String registVillage) {
        this.registVillage = registVillage;
    }

    public String getRegistHouseNum() {
        return registHouseNum;
    }

    public void setRegistHouseNum(String registHouseNum) {
        this.registHouseNum = registHouseNum;
    }

    public String getRegistZipCode() {
        return registZipCode;
    }

    public void setRegistZipCode(String registZipCode) {
        this.registZipCode = registZipCode;
    }

    public String getWorkUnit() {
        return workUnit;
    }

    public void setWorkUnit(String workUnit) {
        this.workUnit = workUnit;
    }

    public String getWorkProvinceId() {
        return workProvinceId;
    }

    public void setWorkProvinceId(String workProvinceId) {
        this.workProvinceId = workProvinceId;
    }

    public String getWorkCityId() {
        return workCityId;
    }

    public void setWorkCityId(String workCityId) {
        this.workCityId = workCityId;
    }

    public String getWorkCountyId() {
        return workCountyId;
    }

    public void setWorkCountyId(String workCountyId) {
        this.workCountyId = workCountyId;
    }

    public String getWorkTownship() {
        return workTownship;
    }

    public void setWorkTownship(String workTownship) {
        this.workTownship = workTownship;
    }

    public String getWorkVillage() {
        return workVillage;
    }

    public void setWorkVillage(String workVillage) {
        this.workVillage = workVillage;
    }

    public String getWorkHouseNum() {
        return workHouseNum;
    }

    public void setWorkHouseNum(String workHouseNum) {
        this.workHouseNum = workHouseNum;
    }

    public String getWorkPhoneNum() {
        return workPhoneNum;
    }

    public void setWorkPhoneNum(String workPhoneNum) {
        this.workPhoneNum = workPhoneNum;
    }

    public String getWorkZipCode() {
        return workZipCode;
    }

    public void setWorkZipCode(String workZipCode) {
        this.workZipCode = workZipCode;
    }

    public String getContactsName() {
        return contactsName;
    }

    public void setContactsName(String contactsName) {
        this.contactsName = contactsName;
    }

    public String getRelationshipId() {
        return relationshipId;
    }

    public void setRelationshipId(String relationshipId) {
        this.relationshipId = relationshipId;
    }

    public String getContactsProvinceId() {
        return contactsProvinceId;
    }

    public void setContactsProvinceId(String contactsProvinceId) {
        this.contactsProvinceId = contactsProvinceId;
    }

    public String getContactsCityId() {
        return contactsCityId;
    }

    public void setContactsCityId(String contactsCityId) {
        this.contactsCityId = contactsCityId;
    }

    public String getContactsCountyId() {
        return contactsCountyId;
    }

    public void setContactsCountyId(String contactsCountyId) {
        this.contactsCountyId = contactsCountyId;
    }

    public String getContactsTownship() {
        return contactsTownship;
    }

    public void setContactsTownship(String contactsTownship) {
        this.contactsTownship = contactsTownship;
    }

    public String getContactsVillage() {
        return contactsVillage;
    }

    public void setContactsVillage(String contactsVillage) {
        this.contactsVillage = contactsVillage;
    }

    public String getContactsHouseNum() {
        return contactsHouseNum;
    }

    public void setContactsHouseNum(String contactsHouseNum) {
        this.contactsHouseNum = contactsHouseNum;
    }

    public String getContactsPhoneNum() {
        return contactsPhoneNum;
    }

    public void setContactsPhoneNum(String contactsPhoneNum) {
        this.contactsPhoneNum = contactsPhoneNum;
    }

    public String getInWayId() {
        return inWayId;
    }

    public void setInWayId(String inWayId) {
        this.inWayId = inWayId;
    }



    public String getInDeptId() {
        return inDeptId;
    }

    public void setInDeptId(String inDeptId) {
        this.inDeptId = inDeptId;
    }

    public String getInWardDeptId() {
        return inWardDeptId;
    }

    public void setInWardDeptId(String inWardDeptId) {
        this.inWardDeptId = inWardDeptId;
    }

    public String getInRoomNo() {
        return inRoomNo;
    }

    public void setInRoomNo(String inRoomNo) {
        this.inRoomNo = inRoomNo;
    }

    public String getTransDeptId() {
        return transDeptId;
    }

    public void setTransDeptId(String transDeptId) {
        this.transDeptId = transDeptId;
    }

    public Timestamp getOutDatetime() {
        return outDatetime;
    }

    public void setOutDatetime(Timestamp outDatetime) {
        this.outDatetime = outDatetime;
    }

    public String getOutDeptId() {
        return outDeptId;
    }

    public void setOutDeptId(String outDeptId) {
        this.outDeptId = outDeptId;
    }

    public String getOutWardDeptId() {
        return outWardDeptId;
    }

    public void setOutWardDeptId(String outWardDeptId) {
        this.outWardDeptId = outWardDeptId;
    }

    public String getOutRoomNo() {
        return outRoomNo;
    }

    public void setOutRoomNo(String outRoomNo) {
        this.outRoomNo = outRoomNo;
    }

    public Integer getInHospitalDays() {
        return inHospitalDays;
    }

    public void setInHospitalDays(Integer inHospitalDays) {
        this.inHospitalDays = inHospitalDays;
    }

    public String getPathologyNum() {
        return pathologyNum;
    }

    public void setPathologyNum(String pathologyNum) {
        this.pathologyNum = pathologyNum;
    }

    public String getDrugAllergyFlag() {
        return drugAllergyFlag;
    }

    public void setDrugAllergyFlag(String drugAllergyFlag) {
        this.drugAllergyFlag = drugAllergyFlag;
    }

    public String getAnaphylaxis() {
        return anaphylaxis;
    }

    public void setAnaphylaxis(String anaphylaxis) {
        this.anaphylaxis = anaphylaxis;
    }

    public String getDeathAutopsyFlag() {
        return deathAutopsyFlag;
    }

    public void setDeathAutopsyFlag(String deathAutopsyFlag) {
        this.deathAutopsyFlag = deathAutopsyFlag;
    }

    public String getDirectorPersonId() {
        return directorPersonId;
    }

    public void setDirectorPersonId(String directorPersonId) {
        this.directorPersonId = directorPersonId;
    }

    public String getDeputyPersonId() {
        return deputyPersonId;
    }

    public void setDeputyPersonId(String deputyPersonId) {
        this.deputyPersonId = deputyPersonId;
    }

    public String getAttendingPersonId() {
        return attendingPersonId;
    }

    public void setAttendingPersonId(String attendingPersonId) {
        this.attendingPersonId = attendingPersonId;
    }

    public String getInpatientPersonId() {
        return inpatientPersonId;
    }

    public void setInpatientPersonId(String inpatientPersonId) {
        this.inpatientPersonId = inpatientPersonId;
    }

    public String getResponsibleNursePersonId() {
        return responsibleNursePersonId;
    }

    public void setResponsibleNursePersonId(String responsibleNursePersonId) {
        this.responsibleNursePersonId = responsibleNursePersonId;
    }

    public String getAdvancedPersonId() {
        return advancedPersonId;
    }

    public void setAdvancedPersonId(String advancedPersonId) {
        this.advancedPersonId = advancedPersonId;
    }

    public String getInternPersonId() {
        return internPersonId;
    }

    public void setInternPersonId(String internPersonId) {
        this.internPersonId = internPersonId;
    }

    public String getCodersPersonId() {
        return codersPersonId;
    }

    public void setCodersPersonId(String codersPersonId) {
        this.codersPersonId = codersPersonId;
    }

    public String getMedicalQualityId() {
        return medicalQualityId;
    }

    public void setMedicalQualityId(String medicalQualityId) {
        this.medicalQualityId = medicalQualityId;
    }

    public String getQualityDoctorPersonId() {
        return qualityDoctorPersonId;
    }

    public void setQualityDoctorPersonId(String qualityDoctorPersonId) {
        this.qualityDoctorPersonId = qualityDoctorPersonId;
    }

    public String getQualityNursePersonId() {
        return qualityNursePersonId;
    }

    public void setQualityNursePersonId(String qualityNursePersonId) {
        this.qualityNursePersonId = qualityNursePersonId;
    }

    public String getOutWayId() {
        return outWayId;
    }

    public void setOutWayId(String outWayId) {
        this.outWayId = outWayId;
    }

    public String getReceiveHospitalId() {
        return receiveHospitalId;
    }

    public void setReceiveHospitalId(String receiveHospitalId) {
        this.receiveHospitalId = receiveHospitalId;
    }

    public String getWithinRebackFlag() {
        return withinRebackFlag;
    }

    public void setWithinRebackFlag(String withinRebackFlag) {
        this.withinRebackFlag = withinRebackFlag;
    }

    public String getWithinRebackObjective() {
        return withinRebackObjective;
    }

    public void setWithinRebackObjective(String withinRebackObjective) {
        this.withinRebackObjective = withinRebackObjective;
    }

    public Integer getPreComaDays() {
        return preComaDays;
    }

    public void setPreComaDays(Integer preComaDays) {
        this.preComaDays = preComaDays;
    }

    public Integer getPreComaHour() {
        return preComaHour;
    }

    public void setPreComaHour(Integer preComaHour) {
        this.preComaHour = preComaHour;
    }

    public Integer getPreComaMinute() {
        return preComaMinute;
    }

    public void setPreComaMinute(Integer preComaMinute) {
        this.preComaMinute = preComaMinute;
    }

    public Integer getAfterComaDays() {
        return afterComaDays;
    }

    public void setAfterComaDays(Integer afterComaDays) {
        this.afterComaDays = afterComaDays;
    }

    public Integer getAfterComaHour() {
        return afterComaHour;
    }

    public void setAfterComaHour(Integer afterComaHour) {
        this.afterComaHour = afterComaHour;
    }

    public Integer getAfterComaMinute() {
        return afterComaMinute;
    }

    public void setAfterComaMinute(Integer afterComaMinute) {
        this.afterComaMinute = afterComaMinute;
    }


    public String getTreatmentCause() {
        return treatmentCause;
    }

    public void setTreatmentCause(String treatmentCause) {
        this.treatmentCause = treatmentCause;
    }

    public String getResponsibleDoctorPersonId() {
        return responsibleDoctorPersonId;
    }

    public void setResponsibleDoctorPersonId(String responsibleDoctorPersonId) {
        this.responsibleDoctorPersonId = responsibleDoctorPersonId;
    }

    public String getWardDeptId() {
        return wardDeptId;
    }

    public void setWardDeptId(String wardDeptId) {
        this.wardDeptId = wardDeptId;
    }

    public String getWardRoomNo() {
        return wardRoomNo;
    }

    public void setWardRoomNo(String wardRoomNo) {
        this.wardRoomNo = wardRoomNo;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getPlanDeptId() {
        return planDeptId;
    }

    public void setPlanDeptId(String planDeptId) {
        this.planDeptId = planDeptId;
    }

    public String getPlanWardDeptId() {
        return planWardDeptId;
    }

    public void setPlanWardDeptId(String planWardDeptId) {
        this.planWardDeptId = planWardDeptId;
    }

    public String getDiseaseState() {
        return diseaseState;
    }

    public void setDiseaseState(String diseaseState) {
        this.diseaseState = diseaseState;
    }

    public String getDietaryGuidance() {
        return dietaryGuidance;
    }

    public void setDietaryGuidance(String dietaryGuidance) {
        this.dietaryGuidance = dietaryGuidance;
    }


    public String getNursingGrade() {
        return nursingGrade;
    }

    public void setNursingGrade(String nursingGrade) {
        this.nursingGrade = nursingGrade;
    }

    public String getTreatmentCategory() {
        return treatmentCategory;
    }

    public void setTreatmentCategory(String treatmentCategory) {
        this.treatmentCategory = treatmentCategory;
    }

    public String getClinicalPathway() {
        return clinicalPathway;
    }

    public void setClinicalPathway(String clinicalPathway) {
        this.clinicalPathway = clinicalPathway;
    }

    public String getChineseMedicineFlag() {
        return chineseMedicineFlag;
    }

    public void setChineseMedicineFlag(String chineseMedicineFlag) {
        this.chineseMedicineFlag = chineseMedicineFlag;
    }

    public String getChineseEquipmentFlag() {
        return chineseEquipmentFlag;
    }

    public void setChineseEquipmentFlag(String chineseEquipmentFlag) {
        this.chineseEquipmentFlag = chineseEquipmentFlag;
    }

    public String getChineseTreatmentFlag() {
        return chineseTreatmentFlag;
    }

    public void setChineseTreatmentFlag(String chineseTreatmentFlag) {
        this.chineseTreatmentFlag = chineseTreatmentFlag;
    }

    public String getDialecticFlag() {
        return dialecticFlag;
    }

    public void setDialecticFlag(String dialecticFlag) {
        this.dialecticFlag = dialecticFlag;
    }

    public String getInsuranceCategory() {
        return insuranceCategory;
    }

    public void setInsuranceCategory(String insuranceCategory) {
        this.insuranceCategory = insuranceCategory;
    }



    public String getPyCode() {
        return pyCode;
    }

    public void setPyCode(String pyCode) {
        this.pyCode = pyCode;
    }

    public String getWbCode() {
        return wbCode;
    }

    public void setWbCode(String wbCode) {
        this.wbCode = wbCode;
    }

    public String getArchiveFlag() {
        return archiveFlag;
    }

    public void setArchiveFlag(String archiveFlag) {
        this.archiveFlag = archiveFlag;
    }

    public String getPathologyDiagId() {
        return pathologyDiagId;
    }

    public void setPathologyDiagId(String pathologyDiagId) {
        this.pathologyDiagId = pathologyDiagId;
    }

    public String getInjuryReasonId() {
        return injuryReasonId;
    }

    public void setInjuryReasonId(String injuryReasonId) {
        this.injuryReasonId = injuryReasonId;
    }

    public String getOutpatStatus() {
        return outpatStatus;
    }

    public void setOutpatStatus(String outpatStatus) {
        this.outpatStatus = outpatStatus;
    }

    public Integer getAgeHour() {
        return ageHour;
    }

    public void setAgeHour(Integer ageHour) {
        this.ageHour = ageHour;
    }

    public Integer getAgeMinute() {
        return ageMinute;
    }

    public void setAgeMinute(Integer ageMinute) {
        this.ageMinute = ageMinute;
    }

    public String getDayWardFlag() {
        return dayWardFlag;
    }

    public void setDayWardFlag(String dayWardFlag) {
        this.dayWardFlag = dayWardFlag;
    }

    public Integer getBirthWeightSecondchild() {
        return birthWeightSecondchild;
    }

    public void setBirthWeightSecondchild(Integer birthWeightSecondchild) {
        this.birthWeightSecondchild = birthWeightSecondchild;
    }

    public Integer getInpatWeightSecondchild() {
        return inpatWeightSecondchild;
    }

    public void setInpatWeightSecondchild(Integer inpatWeightSecondchild) {
        this.inpatWeightSecondchild = inpatWeightSecondchild;
    }

    public String getInsuranceTypeId() {
        return insuranceTypeId;
    }

    public void setInsuranceTypeId(String insuranceTypeId) {
        this.insuranceTypeId = insuranceTypeId;
    }

    public String getIdcardUnknownReason() {
        return idcardUnknownReason;
    }

    public void setIdcardUnknownReason(String idcardUnknownReason) {
        this.idcardUnknownReason = idcardUnknownReason;
    }

    public String getIdcardUnknownReasonDescribe() {
        return idcardUnknownReasonDescribe;
    }

    public void setIdcardUnknownReasonDescribe(String idcardUnknownReasonDescribe) {
        this.idcardUnknownReasonDescribe = idcardUnknownReasonDescribe;
    }

    public Timestamp getBirthday() {
        return birthday;
    }

    public void setBirthday(Timestamp birthday) {
        this.birthday = birthday;
    }

    public Timestamp getInDatetime() {
        return inDatetime;
    }

    public void setInDatetime(Timestamp inDatetime) {
        this.inDatetime = inDatetime;
    }

    public Timestamp getQualityDate() {
        return qualityDate;
    }

    public void setQualityDate(Timestamp qualityDate) {
        this.qualityDate = qualityDate;
    }

    public Timestamp getAttackDatetime() {
        return attackDatetime;
    }

    public void setAttackDatetime(Timestamp attackDatetime) {
        this.attackDatetime = attackDatetime;
    }

    public Timestamp getDeathDatetime() {
        return deathDatetime;
    }

    public void setDeathDatetime(Timestamp deathDatetime) {
        this.deathDatetime = deathDatetime;
    }

    public Timestamp getTreatmentDate() {
        return treatmentDate;
    }

    public void setTreatmentDate(Timestamp treatmentDate) {
        this.treatmentDate = treatmentDate;
    }

    public Timestamp getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Timestamp getGmtModify() {
        return gmtModify;
    }

    public void setGmtModify(Timestamp gmtModify) {
        this.gmtModify = gmtModify;
    }


    public String getReligion() {
        return religion;
    }

    public void setReligion(String religion) {
        this.religion = religion;
    }

    public String getBirthTownship() {
        return birthTownship;
    }

    public void setBirthTownship(String birthTownship) {
        this.birthTownship = birthTownship;
    }
}
